package top.dreamyy.pattern.service;

import java.util.List;

import top.dreamyy.pattern.domain.Menu;
import top.dreamyy.pattern.domain.Pattern;
import top.dreamyy.pattern.domain.User;

public interface PatternService {
	
	Pattern select(int id);
	
	User judgeUser(String name,String password);
	
	User existUser(String name);
	
	void saveUser(String name,String password, String stuid);
	
	List<Menu> getMenu();
	
	int saveSugg(String sugg);
}
